<%@page import="org.springframework.web.context.request.RequestAttributes"%>
<%@page import="org.springframework.web.servlet.ModelAndView"%>
<%@page import="ar.com.sectorwine.controllers.EmpresasController"%>
<%@page import="org.springframework.ui.Model"%>
<%@ page session="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>Lista de empresas</title>
</head>

<body>
	<h1>Mis Empresas</h1>

	<%
		try {
	%>

	<form:form method="post" modelAttribute="mi_empresa">
	
	<a href="empresas_modificar?id=${mi_empresa.id}" >${mi_empresa.razonSocial}</a>

	</form:form>
		------------------------------------------<br>
	<a href="home">inicio</a>
	<%
	
		} catch (Exception e) {
			out.print(e.getMessage());
		}
	%>
</body>
</html>
